package lang;

import java.util.Calendar;

/**
 * @author yuqi<307530884@qq.com> <2017/3/30>
 * @version 1.0
 * @since 1.0
 */
public class JkCalendar {

    public static void main(String[] args) {

        Calendar calendar = Calendar.getInstance();

        calendar.set(Calendar.MONTH, 0);
        calendar.set(Calendar.DAY_OF_MONTH, 1);

        System.out.println(calendar.getTime());

        int weekOfYear = calendar.get(Calendar.WEEK_OF_YEAR);

        System.out.println(weekOfYear);
    }

}
